    <div id="toolbar-box">
      <div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m">
        <div id="toolbar" class="toolbar">
            <table class="toolbar"><tbody><tr>
                    <td id="toolbar-save" class="button"><a class="toolbar" onClick="javascript: submitbutton('save'); return false;" href="javascript:void(0);"> <span title="Save" class="icon-32-save"> </span> Save </a> </td>
                    <td id="toolbar-cancel" class="button"><a class="toolbar" onClick="javascript: submitbutton('cancel'); return false;" href="javascript:void(0);"> <span title="Cancel" class="icon-32-cancel"> </span> Cancel </a> </td>
            </tr></tbody></table>
        </div>
        <div class="header icon-48-user">Tạo người dùng</div>
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
    <div class="clr"></div>
    <div id="element-box">
      <div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m">
    <script language="javascript" type="text/javascript">
            function submitbutton(pressbutton) {
                    var form = document.adminForm;
                    if (pressbutton == 'cancel') {
                            submitform( pressbutton );
                            return;
                    }
                         if($('#UserPassword').val() == ''){
                            h3l_show_alert($('#UserPassword'), 'Vui lòng nhập password');
                            $('#UserPassword').focus();
                            return;
                         }
                         if($('#UserPassword').val() != $('#UserPassword2').val()){
                            h3l_show_alert($('#UserPassword'), 'Vui lòng nhập password giống nhau');
                            $('#UserPassword').focus();
                            return;
                         }
                    }
                    submitform( pressbutton );
            }
    </script>
        <?php echo $this->Form->create('User', array('style'=> 'clear: both;', 'name'=>'adminForm', 'id'=>'adminForm')); ?>
        <form autocomplete="off" name="adminForm" method="post" action="">
          <div class="col">
            <fieldset class="adminform">
            <legend>User Details</legend>
            <table cellspacing="1" class="admintable">
              <tbody>
                <tr>
                  <td width="150" class="key"><label for="fullname"> Name </label>
                  </td>
                  <td>
                        <?php echo $this->Form->input('fullname', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
                  </td>
                </tr>
                <tr>
                  <td class="key"><label for="username"> Username </label>
                  </td>
                  <td>
                        <?php echo $this->Form->input('username', array('class'=>'inputbox', 'size'=> 40, 'label'=> false, 'autocomplete'=> 'off')); ?>
                  </td>
                </tr>
                <tr>
                  <td class="key"><label for="email"> E-mail </label>
                  </td>
                  <td>
                    <?php echo $this->Form->input('email', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
                  </td>
                </tr>
            <tr>
              <td class="key"><label for="birthday"> birthday</label>
              </td>
              <td>
                    <?php echo $this->Form->input('birthday', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
                <tr>
                  <td class="key"><label for="password"> New Password </label>
                  </td>
                  <td>
                        <?php echo $this->Form->input('password', array('type'=>'password','class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
                  </td>
                </tr>
                <tr>
                  <td class="key"><label for="password2"> Verify Password </label>
                  </td>
                  <td>
                    <?php echo $this->Form->input('password2', array('type'=>'password','class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
                  </td>
                </tr>
            <tr>
              <td class="key"><label for="phone"> phone</label>
              </td>
              <td>
                    <?php echo $this->Form->input('phone', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
            <tr>
              <td class="key"><label for="address"> address</label>
              </td>
              <td>
                    <?php echo $this->Form->input('address', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="group_id">Nhóm</label>
              </td>
              <td>
                    <?php
                        echo $this->Form->select('group_id', $list_group,array('empty'=> false,'secure'=>true));
                    ?>
              </td>
            </tr>
              </tbody>
            </table>
            </fieldset>
          </div>
          <div class="clr"></div>
          <input type="hidden" name="id">
          <input type="hidden" name="task" value="" />
        </form>
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
